package com.ruoyi.wq.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ruoyi.wq.domain.WqCommentReply;

/**
 * 评论回复Mapper接口
 * 
 * @author ruoyi
 * @date 2022-03-29
 */
public interface WqCommentReplyMapper extends BaseMapper<WqCommentReply> {
    /**
     * 查询评论回复
     * 
     * @param id 评论回复主键
     * @return 评论回复
     */
    public WqCommentReply selectWqCommentReplyById(String id);

    /**
     * 查询评论回复列表
     * 
     * @param wqCommentReply 评论回复
     * @return 评论回复集合
     */
    public List<WqCommentReply> selectWqCommentReplyList(WqCommentReply wqCommentReply);

    /**
     * 新增评论回复
     * 
     * @param wqCommentReply 评论回复
     * @return 结果
     */
    public int insertWqCommentReply(WqCommentReply wqCommentReply);

    /**
     * 修改评论回复
     * 
     * @param wqCommentReply 评论回复
     * @return 结果
     */
    public int updateWqCommentReply(WqCommentReply wqCommentReply);

    /**
     * 删除评论回复
     * 
     * @param id 评论回复主键
     * @return 结果
     */
    public int deleteWqCommentReplyById(String id);

    /**
     * 批量删除评论回复
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWqCommentReplyByIds(String[] ids);

    public List<WqCommentReply> selectPageList(IPage page,@Param("reply") WqCommentReply reply);
}
